%%This is a very basic article template.
%%There is just one section and two subsections.
\documentclass{article}

\usepackage{tikz,pgfplots}

\begin{document}
\pagestyle{empty}
\begin{figure}
\begin{tikzpicture}
\begin{axis}[width=\linewidth,xlabel=$k$,ylabel={success@$k$},grid=both,legend
entries={\textsc{Quasl},\textsc{Quasl} with updated queries,
\textsc{Wolfram|Alpha},\textsc{Wolfram|Alpha} with updated
queries},legend style={cells={anchor=center, fill},nodes={inner
sep=1,below=-1.1ex},at={(0.5,-0.3)},anchor=south}] 

\addplot[smooth,mark=*,color=black] 
plot coordinates { (1,0.677419355)
	(2,0.774193548)
	(3,0.806451613)
	(4,0.838709677)
	(5,0.838709677)
	(6,0.838709677)
	(7,0.838709677)
	(8,0.903225806)
	(9,0.935483871)
	(10,0.967741935)
};
\addplot[smooth,mark=x,color=black] plot coordinates {
	(1,0.838709677)
	(2,0.935483871)
	(3,0.935483871)
	(4,0.967741935)
	(5,1)
	(6,1)
	(7,1)
	(8,1)
	(9,1)
	(10,1)
};
\addplot[smooth,mark=*,color=black,style=dotted] plot coordinates {
	(1,0.384615385)
	(2,0.384615385)
	(3,0.461538462)
	(4,0.615384615)
	(5,0.769230769)
	(6,0.769230769)
	(7,0.769230769)
	(8,0.769230769)
	(9,0.769230769)
	(10,0.769230769)
};
\addplot[smooth,mark=x,color=black,style=dotted] plot coordinates {
	(1,0.538461538)
	(2,0.538461538)
	(3,0.615384615)
	(4,0.769230769)
	(5,0.923076923)
	(6,1)
	(7,1)
	(8,1)
	(9,1)
	(10,1)
};
\end{axis}
\end{tikzpicture}
\end{figure}


\end{document}
